//
//  AddressInputCell.h
//  PigMarket
//
//  Created by mac on 2019/3/25.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^AddressBookBlock)(void);
@interface AddressInputCell : UITableViewCell
/**
 家btn
 */
@property (nonatomic , strong) UIButton *homeBtn;

/**
 公司Btn
 */
@property (nonatomic , strong) UIButton *companyBtn;

/**
 学校Btn
 */
@property (nonatomic , strong) UIButton *schoolBtn;
/**
 信息输入框
 */
@property (nonatomic , strong) UITextField *detailField;
/**
 设置默认地址开关
 */
@property (nonatomic , strong) UISwitch *defaultAddressSwitch;
/**
 获取通讯录按钮block
 */
@property (nonatomic , strong) AddressBookBlock addressBookBlock;
/**
 编辑地址，默认数据
 */
@property (nonatomic , strong) NSString *requestDetailText;

+ (instancetype)cellWithTableView:(UITableView *)tableView;
- (void)configCellWithInfoDic:(NSDictionary *)infoDic indexPath:(NSIndexPath *)indexPath;
@end

NS_ASSUME_NONNULL_END
